Skip to content

[3.0] Add Khronos StructureType field initializers#2576

Draft
Exanite wants to merge 7 commits intodevelop/3.0from
feature/vk-structure-types
Draft

[3.0] Add Khronos StructureType field initializers#2576
Exanite wants to merge 7 commits intodevelop/3.0from
feature/vk-structure-types

Conversation

@Exanite
Copy link
Copy Markdown
Member

@Exanite Exanite commented May 1, 2026

Summary of the PR

This adds default field initializers to structures that have structure type members, such as sType for VkStructureType in Vulkan.

Related issues, Discord discussions, or proposals

Discord thread: https://discord.com/channels/521092042781229087/1499891853217103902

Further Comments

Tasks

  • Scrape structure type member information
  • Add field initializers to structure type members
    • Add explicit constructor since field initializers require them.
  • Update generator.json to use the new config option
  • Wait for previous PRs to be merged
    • Rebase
  • Regenerate Vulkan bindings using Windows

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

File Coverage
All files 16%

Minimum allowed coverage is 0%

Generated by 🐒 cobertura-action against 7a20a21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant